import { getUserProfile } from '@/api/system/user/profile';

//上传路径
export const fileUplodeUrl=import.meta.env.VITE_BASE_URL + '/admin-api/attachment/uploadFileSMWU'
export const groupList = [
    {
         id:'hioiooeiiii2222222',
         name:'测室Ftp',
         address:'127.0.0.1',
         port:'80',
         codedFormat:'utf8',
         isValid:'1'
    }
]
//模版类型
export const templateTypeOpt = [
    {label:'公用',value:'1'},
    {label:'专用',value:'2'},
  ]
  //制图时间 
export const createTimeTypeOpt=[
    {label:'当前系统时间',value:'0'},
    {label:'发震时间',value:'1'},
  ]// 0：当前时间  1：发震时间", 

//幅面类型
export const imgSizeOpt = [
    {label:'A1',value:'1'},
    {label:'A3',value:'2'},
    {label:'A4',value:'3'},
  ]
  export const intensityTypeOpt = [
    {
      label: 'IV度',
      value:'4'
    },
    {
      label: 'V度',
      value:'5'
    },
    {
      label: 'VI度',
      value:'6'
    },
    {
      label: 'VII度',
      value:'7'
    },
    {
      label: 'VIII度',
      value:'8'
    },
    {
      label: 'IX度',
      value:'9'
    },
    {
      label: 'X度',
      value:'10'
    },
    {
      label: 'XI度',
      value:'11'
    },{
      label: 'XII度',
      value:'12'
    }
  ]
  export const intensityOpt = [
    {
      label: 'IV度',
      value:'4'
    },
    {
      label: 'V度',
      value:'5'
    },
    {
      label: 'VI度',
      value:'6'
    },
    {
      label: 'VII度',
      value:'7'
    },
    {
      label: 'VIII度',
      value:'8'
    },
    {
      label: 'IX度',
      value:'9'
    },
    {
      label: 'X度',
      value:'10'
    },
    {
      label: 'XI度',
      value:'11'
    },{
      label: 'XII度',
      value:'12'
    }
  ]
  export const userInfo = await getUserProfile()
  // export const userInfo = {
  //   dept:{
  //     name:'222'
  //   },
  //   nickname:'nickname',
  //   deptId:'deptId',
  //   id:'Id'
  // }

    
   